package com.demo.server;

import com.common.Dto.CompanyIpoDTO;
import com.common.Dto.CompanyLoginDTO;
import com.common.Dto.CompanyRegisterDTO;
import com.common.VO.CompanyLoginVo;
import com.common.VO.IpoVO;
import com.common.VO.RegisterVO;
import com.common.result.Result;
import org.fisco.bcos.sdk.transaction.model.exception.ContractException;

public interface CompanyServer {
    public Result<RegisterVO> Register(CompanyRegisterDTO companyRegisterDTO);
    public Result<CompanyLoginVo> Login(CompanyLoginDTO companyLoginDTO);
    public Result<IpoVO> processIpo(CompanyIpoDTO companyIpoDTO) throws ContractException;
}
